package com.kly.cashmall.bean;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author
 * @date 2018/12/21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GeneralInputParamsBean implements Serializable {

    /**
     * paramName : First Name
     * param : firstName
     * paramType : 1
     * inputDesc : Enter your first name
     * inputValue : lalal
     * required : true
     * readonly : true
     * show : false
     * paramOptions : null
     * burialPointName : cm_profile_personalinfo_basic_firstname_click
     */

    public String paramName;
    public String param;
    public int paramType;
    public String inputDesc;
    public String inputValue;
    public boolean required;
    public List<ParamsOptionBean> paramOptions;
    public String burialPointName;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ParamsOptionBean implements Serializable {

        /**
         * optionId : 1
         * optionValue : Male
         * childParamOptions : null
         */

        public String optionId;
        public String optionValue;

    }
}
